import Vue from 'vue'
import 'babel-polyfill'
import App from './App'
import router from './router'
import fastclick from 'fastclick'
import VueLazyLoad from "vue-lazyload"
import axios from 'axios';
import '@/commom/stylus/index.styl'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

fastclick.attach(document.body)
Vue.use(VueLazyLoad)
Vue.prototype.$axios = axios;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
